<template>
  <div class="room-none">
    请选择需要查询的机房!
    <el-button style="margin-left: 10px;" plain size="small" type="primary" @click="goRouter" v-if="isShowBtn">去设置机房</el-button>
  </div>
</template>

<script>
export default {
  props: {
    isShowBtn: {
      type: Boolean,
      default: true
    }
  },
  methods: {
    goRouter() {
      // /business/roommanage
      this.$router.push('/business/roommanage')
    }
  }
}
</script>

<style scoped>
.room-none{
  text-align: center;
  padding: 40px;
  font-size: 14px;
}
</style>
